<?php
#=== paths =====================================================================
#defined('INNER_DIR')        || define('INNER_DIR',      dirname(__FILE__).'/');
#defined('LIB_ROOT')         || define('LIB_ROOT',       INNER_DIR . 'lib/'   );
#defined('INTERFACE_ROOT')   || define('INTERFACE_ROOT', INNER_DIR . 'interface/');
#defined('MODULES_ROOT')     || define('MODULES_ROOT',   INNER_DIR . 'modules/');
#defined('VIEW_ROOT')        || define('VIEW_ROOT',      INNER_DIR . 'views/');
#defined('CFG_ROOT')         || define('CFG_ROOT',       INNER_DIR . 'cfg/');
#defined('LIB51_ROOT')       || define('LIB51_ROOT',     INNER_DIR . '../fiveonelib/');

#=== www constants =============================================================
//defined('USER_HOME_URL')    || define('USER_HOME_URL',  'http://home.51.com/home.php?user=');
//defined('DEFAULT_PIC_URL')  || define('DEFAULT_PIC_URL', 'http://static.51img1.com/i/uc/none.gif');

defined('DOMAIN_URL_ACT')	||	define('DOMAIN_URL_ACT', 'http://act.xx5.com');

defined('ACT_START_TIME')	|| define('ACT_START_TIME', '2012-08-07 11:00:00'); //活动开始时间16
defined('ACT_FINISH_TIME')	|| define('ACT_FINISH_TIME', '2012-08-10 18:00:00'); //活动结束时间

defined('DOMAIN_URL')       || define('DOMAIN_URL', DOMAIN_URL_ACT.'/'.ACT.'/');

defined('STATIC_FILE_URL')  || define('STATIC_FILE_URL', 'http://static.51img1.com/game');
defined('STYLE_URL')			|| define('STYLE_URL', STATIC_FILE_URL.'/style/');
defined('SCRIPT_URL')			|| define('SCRIPT_URL', STATIC_FILE_URL.'/js/');

defined('PIC_URL')          || define('PIC_URL', STATIC_FILE_URL.'/act/'.ACT.'/images/');
defined('JS_URL')           || define('JS_URL', STATIC_FILE_URL.'/act/'.ACT.'/js/');
defined('CSS_URL')          || define('CSS_URL', STATIC_FILE_URL.'/act/'.ACT.'/style/');

defined('PROJECT_VERSION') || define('PROJECT_VERSION', '?V=120109091652');

//	定义字体的最大型号
defined('FONT_MAX_SIZE')     || define('FONT_MAX_SIZE', 6);
//	定义字体的最小型号
defined('FONT_MIN_SIZE')     || define('FONT_MIN_SIZE', 1);
//	定义图片的最大宽度
defined('IMG_MAX_WIDTH')     || define('IMG_MAX_WIDTH', 560);
//	定义图片的最大高度
defined('IMG_MAX_HEIGHT')    || define('IMG_MAX_HEIGHT', 560);

define('XDEBUG',	false);  // global debug switch

//	是否启用memcache
defined('MC_USED')           || define('MC_USED', true);

#=== initiali application ======================================================
//session_start();
date_default_timezone_set("Asia/Shanghai");
#=== All done ==================================================================

?>
